package com.atguigu.orderservice.feign;

import com.atguigu.commonutils.orderVo.MemberOrdertvo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @Description
 * @Author lzc <1029669636@qq.com>
 * @Version V1.0.0
 * @Since 1.0
 * @Date 2021/1/13
 */
@Component
@FeignClient(name="service-ucenter")
public interface MemberFeign {

    @GetMapping("/educenter/member/memberOrderInfo/{memberId}")
    public MemberOrdertvo memberInfo(@PathVariable("memberId") String memberId);
}
